package com.cci.kangdao.service;

import com.cci.kangdao.dao.model.UserT;
import org.springframework.scheduling.annotation.Async;

public interface AsyncCrmService {
    @Async
    void syncStatusToCCEC(String orderNo, Integer status);

    @Async
    void workOrderUnfinishedOvertime(String systemTime);

    @Async//异步同步用户信息及设备信息至SalesForce
    void syncServiceAgreementAndEngineToCRM(UserT userId, String esn, Boolean activeService,Boolean flag);

    @Async//异步同步用户信息至SalesForce
    void syncUserInfoToCRM(UserT userT, Boolean activeService);

}
